package com.yc.chaoshi.cs_order.DTO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;



public class Goodspl implements Serializable {


    private static final long serialVersionUID = 1L;
    /**
     * 支付方式
     */
    private Integer deliveryWay;
    /**
     * 商品id
     */
    private Integer gid;
    /**
     * 订单id
     */
    private Integer oid;
    /**
     * 商品数量
     */
   private  Integer count;
    /**
     * 商品名字
     */
    private String name;

    /**
     * 商品积分
     */
    private Integer points;

    /**
     * 商品主图
     */
    private String image;

    /**
     * 市场单价
     */
    private double price;

    public Integer getDeliveryWay() {
        return deliveryWay;
    }

    public void setDeliveryWay(Integer deliveryWay) {
        this.deliveryWay = deliveryWay;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPoints() {
        return points;
    }

    public void setPoints(Integer points) {
        this.points = points;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Goodspl{" +
                "deliveryWay=" + deliveryWay +
                ", gid=" + gid +
                ", oid=" + oid +
                ", count=" + count +
                ", name='" + name + '\'' +
                ", points=" + points +
                ", image='" + image + '\'' +
                ", price=" + price +
                '}';
    }
}
